﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.EasyMoveSuiteConfig
{
	/// <summary>
	/// 便捷搬家套餐配置
	/// </summary>
	public class EasyMoveSuiteConfigRequestDto
	{
		/// <summary>
		/// 套餐名称
		/// </summary>		
		[Display(Name = "套餐名称")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string SuiteName { get; set; }
		/// <summary>
		/// 车辆业务映射Id
		/// </summary>		
		[Display(Name = "车辆业务映射Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public int VehicleBusinessMappingId { get; set; }
		/// <summary>
		/// 车辆类型Id
		/// </summary>		
		[Display(Name = "车辆类型Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public int VehicleTypeId { get; set; }
		/// <summary>
		/// 适合人群标题
		/// </summary>		
		[Display(Name = "适合人群标题")]
		[StringLength(30, ErrorMessage = "{0} 长度应小于{1}")]
		public string SuiteForCrowdTitle { get; set; }
		/// <summary>
		/// 适合人群备注
		/// </summary>		
		[Display(Name = "适合人群备注")]
		[StringLength(30, ErrorMessage = "{0} 长度应小于{1}")]
		public string SuiteForCrowdRemark { get; set; }
		/// <summary>
		/// 套餐服务标题
		/// </summary>		
		[Display(Name = "套餐服务标题")]
		[MaxLength(30, ErrorMessage = "{0} 长度应小于{1}")]
		public string SuiteServiceTitle { get; set; }
		/// <summary>
		/// 套餐服务备注
		/// </summary>		
		[Display(Name = "套餐服务备注")]
		[StringLength(30, ErrorMessage = "{0} 长度应小于{1}")]
		public string SuiteServiceRemark { get; set; }
		/// <summary>
		/// 搬运服务费金额
		/// </summary>		
		[Display(Name = "搬运服务费金额")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public decimal CarryServiceAmount { get; set; }
		/// <summary>
		/// 搬运服务备注
		/// </summary>		
		[Display(Name = "搬运服务备注")]
		public string CarryServiceRemark { get; set; }
		/// <summary>
		/// 优惠金额
		/// </summary>
		[Display(Name = "优惠金额")]
		public decimal? CouponAmount { get; set; }
		/// <summary>
		/// 省份Code
		/// </summary>		
		[Display(Name = "省份Code")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string ProvinceCode { get; set; }
		/// <summary>
		/// 市Code
		/// </summary>		
		[Display(Name = "市Code")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string CityCode { get; set; }
		/// <summary>
		/// 发货地县区Code
		/// </summary>		
		[Display(Name = "发货地县区Code")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string CountyCode { get; set; }
		/// <summary>
		/// 代理商Id
		/// </summary>		
		[Display(Name = "代理商Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long AgentRecordId { get; set; }
	}
}

